package com.cola.entity.shop;

import java.math.BigDecimal;

/**
 * 促销活动实体
 * @author Max
 * @since 2017/9/14
 */
public class SaleActivity {
    private String sale_type; //促销类型
    private String sale_no; //促销编号
    private String goods_no; //商品编号
    private String sale_city_no; //促销城市
    private String sale_area_no; //促销促销区域
    private String sale_channel_no; //促销渠道
    private Integer buy_num; //购买数量
    private String giveaway_no; //赠品编号
    private Integer giveaway_num; //赠品数量
    private String giveaway_name; //赠品名称
    private BigDecimal off_price; //满减金额
    private String start_time; //开始时间
    private String end_time; //结束时间
    private Integer status; //状态
    private String create_time; //创建时间
    private String update_time; //更新时间

    private Integer real_num;//提交时候真实数量

    @Override
    public String toString() {
        return "SaleActivity{" +
                "sale_type='" + sale_type + '\'' +
                ", sale_no='" + sale_no + '\'' +
                ", goods_no='" + goods_no + '\'' +
                ", sale_city_no='" + sale_city_no + '\'' +
                ", sale_area_no='" + sale_area_no + '\'' +
                ", sale_channel_no='" + sale_channel_no + '\'' +
                ", buy_num=" + buy_num +
                ", giveaway_no='" + giveaway_no + '\'' +
                ", giveaway_num=" + giveaway_num +
                ", giveaway_name='" + giveaway_name + '\'' +
                ", off_price=" + off_price +
                ", start_time='" + start_time + '\'' +
                ", end_time='" + end_time + '\'' +
                ", status=" + status +
                ", create_time='" + create_time + '\'' +
                ", update_time='" + update_time + '\'' +
                '}';
    }

    public String getGiveaway_name() {
        return giveaway_name;
    }

    public void setGiveaway_name(String giveaway_name) {
        this.giveaway_name = giveaway_name;
    }

    public String getGiveaway_no() {
        return giveaway_no;
    }

    public void setGiveaway_no(String giveaway_no) {
        this.giveaway_no = giveaway_no;
    }

    public String getSale_type() {
        return sale_type;
    }

    public void setSale_type(String sale_type) {
        this.sale_type = sale_type;
    }

    public String getSale_no() {
        return sale_no;
    }

    public void setSale_no(String sale_no) {
        this.sale_no = sale_no;
    }

    public String getGoods_no() {
        return goods_no;
    }

    public void setGoods_no(String goods_no) {
        this.goods_no = goods_no;
    }

    public String getSale_city_no() {
        return sale_city_no;
    }

    public void setSale_city_no(String sale_city_no) {
        this.sale_city_no = sale_city_no;
    }

    public String getSale_area_no() {
        return sale_area_no;
    }

    public void setSale_area_no(String sale_area_no) {
        this.sale_area_no = sale_area_no;
    }

    public String getSale_channel_no() {
        return sale_channel_no;
    }

    public void setSale_channel_no(String sale_channel_no) {
        this.sale_channel_no = sale_channel_no;
    }

    public Integer getBuy_num() {
        return buy_num;
    }

    public void setBuy_num(Integer buy_num) {
        this.buy_num = buy_num;
    }

    public Integer getGiveaway_num() {
        return giveaway_num;
    }

    public void setGiveaway_num(Integer giveaway_num) {
        this.giveaway_num = giveaway_num;
    }

    public BigDecimal getOff_price() {
        return off_price;
    }

    public void setOff_price(BigDecimal off_price) {
        this.off_price = off_price;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public Integer getReal_num() {
        return real_num;
    }

    public void setReal_num(Integer real_num) {
        this.real_num = real_num;
    }
}
